package com.hand.zc25650.mapper;

import com.hand.zc25650.pojo.Item;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ItemMapper {
    int addItem(Item item);
    int deleteItem(long itemId);
    int updateItem(Item item);
    Item selectById(long itemId);
    List<Item> selectAll();
    String selectMaxItemCode();

    Item selectByMsg(Item item);
}
